﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ChampionFramework.Models;

namespace ChampionFramework.Controllers
{
	public class TempoRealController : Controller
	{
		private ChampionContextContainer db = new ChampionContextContainer();

		//
		// GET: /TempoReal/

		public ActionResult Index()
		{
			var eventoset = db.EventoSet.Include("Jogador");
			return View(eventoset.ToList());
		}

		protected override void Dispose(bool disposing)
		{
			db.Dispose();
			base.Dispose(disposing);
		}
	}
}